﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Entity
{
    [Table("Roles")]
    public class Role: BaseEntityInt
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 角色说明
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 用户信息
        /// </summary>
        public virtual ICollection<User> Users { get; set; }
    }
}
